package com.apesay.security;

import org.apache.shiro.authc.AuthenticationException;

public class CustomAuthenticationException extends AuthenticationException{
	private static final long serialVersionUID = 1L;
	public static final int AccountNotExist=404;
	public static final int AuthenticateError=500;
	private int code=0;
	public CustomAuthenticationException(int code,String message){
		super(message);
		this.code=code;
	}
	public int getCode(){
		return code;
	}
}
